package com.winsdom.mapper;

import com.winsdom.dto.contract.ContractDto;
import com.winsdom.entity.Contract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winsdom.vo.contract.ContractVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 合同主表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-05-12
 */
@Mapper
public interface ContractMapper extends BaseMapper<Contract> {

    List<ContractVo> getContract(ContractDto contractDto);

    List<Long> getForCategoryIds(@Param("id") Long id);

    Long getContractForCount(ContractDto contractDto);
}
